package com.cl.ks.repository;

import com.cl.ks.entity.KsTable;
import com.cl.mvc.repository.BaseRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface KsTableRepository extends BaseRepository<KsTable> {

    @Query(nativeQuery = true,value = "show tables ")
    List<String> showTables();

}
